<%@ page import="com.metier.IAdmin" %>
<%@ page import="com.metier.IUtilisateurBasique" %>
<%@ page import="com.metier.IUtilisateur" %>
<%
 if(request.getSession().getAttribute("Utilisateur") != null) 
 {
 	if(request.getSession().getAttribute("Utilisateur") instanceof IUtilisateurBasique)
 	{
 		request.setAttribute("page","news.jsp");
		request.getRequestDispatcher("/pages/profil/accueil.jsp").forward(request, response);
 	}
 	else if(request.getSession().getAttribute("Utilisateur") instanceof IAdmin)
 	{
 		request.setAttribute("page", "parametres_bloc.jsp");
		request.getRequestDispatcher("/pages/admin/admin.jsp").forward(request, response);
 	}
 }
 else{
%>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1" session="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/Contacto/pages/css/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Accueil du site web www.contacto.fr</title>
</head>
<body>
		<%@include file="./inscription/entete.jsp"%>
		<div id="contenu">
				<%@include file="./inscription/compteur.jsp" %>
				<%@include file="./inscription/inscription_1.jsp"%>
				
		</div>
		<%@include file="./inscription/piedDePage.jsp"%>

</body>
</html>
<% } %>